﻿@{
    ViewData["Title"] = "入金";
}
@section head {
    <style>
        form input.layui-input[disabled], .red1 {
            font-weight: bold;
            color: red !important;
        }

        .red2 {
            font-size: 20px;
            color: red;
        }
    </style>
}
    <form class="layui-form layui-form-pane">
        @Html.AntiForgeryToken()
        @Html.Hidden("Id")
        @Html.Hidden("RmmfUserId")
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">客户账号：</label>
            <div class="layui-input-inline">
                <input type="text" id="txtUserName" name="txtUserName" autocomplete="off" class="layui-input txtUserName" disabled>
            </div>
            <div class="layui-form-mid layui-word-aux"></div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">账户余额：</label>
            <div class="layui-input-inline">
                <input type="text" id="txtTotalMoney" name="txtTotalMoney" autocomplete="off" class="layui-input red1 txtTotalMoney" disabled>
            </div>
            <div class="layui-form-mid layui-word-aux">美元</div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">入金金额：</label>
            <div class="layui-input-inline">
                <select id="inCashMoney" name="inCashMoney" class="inCashMoney" lay-filter="inCashMoney">
                    <option value="">其他金额</option>
                    <option value="100">100</option>
                    <option value="500">500</option>
                    <option value="1000">1000</option>
                    <option value="1500">1500</option>
                    <option value="2000">2000</option>
                    <option value="2500">2500</option>
                    <option value="3000">3000</option>
                    <option value="3500">3500</option>
                    <option value="4000">4000</option>
                    <option value="4500">4500</option>
                    <option value="5000">5000</option>
                    <option value="5500">5500</option>
                    <option value="6000">6000</option>
                </select>
            </div>
            <div class="layui-form-mid layui-word-aux">美元</div>
        </div>
        <div id="panelMoney" class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">其他金额：</label>
            <div class="layui-input-inline">
                <input type="text" id="Money" name="Money" required lay-verify="required|number" value="0" autocomplete="off" class="layui-input Money" >
            </div>
            <div class="layui-form-mid layui-word-aux">美元</div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">实际金额：</label>
            <div class="layui-input-inline">
                <input type="hidden" id="txtExchangeRate" name="txtExchangeRate" value="0" />
                <input type="hidden" id="txtAliPayExchangeRate" name="txtAliPayExchangeRate" value="0" />
                <input type="text" id="txtRMBMoney" name="txtRMBMoney" autocomplete="off" class="layui-input red1 txtRMBMoney" value="0.00" disabled>
            </div>
            <div id="offLineExchangeRateText" class="layui-form-mid layui-word-aux">元人民币 当前汇率 <span id="txtExchangeRateText" class="red2">1美元等于***人民币</span></div>

            <div id="aliPayExchangeRateText" style="display:none" class="layui-form-mid layui-word-aux ">元人民币 当前汇率 <span id="aliPayExchangeRate" class="red2">1美元等于***人民币</span></div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">支付渠道：</label>
            <div class="layui-input-block">
                <input type="radio" name="CashTypeTeam" class="CashTypeTeam" lay-filter="CashTypeTeam" value="3" title="支付宝通道"><em class="red1">千五费率</em>
                <input type="radio" name="CashTypeTeam" class="CashTypeTeam" lay-filter="CashTypeTeam" checked value="2" title="线下通道"><em class="red1">暂免手续费</em>
                <input id="CashType" name="CashType" class="CashType" type="hidden" value="2" />
                <input id="CashModel" name="CashModel" class="CashModel" type="hidden" value="1" />
            </div>
        </div>
        <div id="panelCashModel3" class="layui-form-item layui-row layui-col-xs12" style="display:none;">
            <label class="layui-form-label">支付银行：</label>
            <div class="layui-input-inline">
                <select id="CashModel3" name="CashModel3" class="CashModel3" >
                    <option value="2">入金时选择</option>
                </select>
            </div>
        </div>
        <div id="panelCashModel2" class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">支付银行：</label>
            <div class="layui-input-inline">
                <select id="CashModel2" name="CashModel2" class="CashModel2">
                    <option value="1">线下入金</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <div class="layui-input-block">
                <button id="btnInCoin" class="layui-btn btnInCoin" lay-submit="" lay-filter="inCoin">提交</button>
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs12">
            <div class="layui-input-block">
                <strong>温馨提示</strong>
            </div>
            <div class="layui-input-block">
                支付宝单笔入金不能大于6000美元.
            </div>
            <div class="layui-input-block">
                入金前请注意您的银行卡入金限制，以免造成不便.
            </div>
            <div class="layui-input-block">
                如果入金遇到任何问题，请联系客服.
            </div>
            <div class="layui-input-block">
                建议使用IE8及以上浏览器使用.
            </div>
        </div>
    </form>

@section Scripts {
    <script type="text/javascript" src="~/layui/layui.js"></script>
    <script type="text/javascript" src="~/js/inoutcash/incoin.js?_=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
}
